﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhaoxi.CourseManagement.Common;

namespace Zhaoxi.CourseManagement.Model
{
    /**
     * 绑定用户输入的信息
     */
    public class LoginModel : NotifyBase
    {

        //用户名
        private string _userName;

        //密码
        private string _password;

        //验证码
        private string _validationCode;

        public string UserName
        {
            get { return _userName; }
            set 
            { 
                _userName = value; 
                this.DoNotify();
            }
        }

        public string Password
        { 
            get { return _password; } 

            set 
            { 
                _password = value;
                this.DoNotify();
            }

        }

        public string ValidationCode
        {
            get { return _validationCode; }
            set 
            { 
                _validationCode = value;
                this.DoNotify();
            }

        }
    }
}
